package by.gravity.utils;

import java.util.Calendar;

public class DateUtil {

	public static final String getSqlDate(Calendar calendar) {
		return (calendar.get(Calendar.YEAR) - 1900) + "-" + (calendar.get(Calendar.MONTH) + 1) + "-" + calendar.get(Calendar.DAY_OF_MONTH);
	}

}
